package org.v2ray.rocket.proxy.support.network.model

data class BaseResponse<T>(
    val code: Int,
    val msg: String?,
    val data: T?,
) {
    fun isSuccess(): Boolean = code == 0 && data != null
}
